﻿<div class="navbar navbar-fixed-top">
		<div class="navbar-inner">
			<div class="container-fluid">			
			<a class="brand" href="#">ACSOUR</a>			
			<div class="nav-collapse">
				<ul class="nav">            
				<li class="divider-vertical"></li>
				{foreach from =$WEB_APP.categories item=category key=category_name}
				{if count($category) > 0}
				<li class="dropdown" data-dropdown="dropdown">
				<a href="#" class="dropdown-toggle" data-toggle="dropdown">{$text[$category_name]}<b class="caret"></b></a>
				<ul class="dropdown-menu">
				{foreach from=$category item=module name=modules_loop}
				<li><a href="{$WEB_APP.cfg_url}?module={$module.module}">					
					{if basename($WEB_APP.module) eq $module.module}<strong>{/if}
					{if isset($text[$module.module_name]) eq TRUE}{$text[$module.module_name]}{else}{$module.module_name}{/if}
					{if basename($WEB_APP.module) eq $module.module}</strong>{/if}
				</a></li>					
				{/foreach}					
				</ul>
				</li>
				{/if}
				{/foreach}	
				</ul>	
				<p class="navbar-text pull-right">{if $WEB_APP.user_info_login eq 'anonymous'}<a href="?module=login">{$text.txt_to_login}</a>{else}<span class="label">{$WEB_APP.user_info_login}</span>{/if}</p>
			</div>
			</div>
		</div>
	</div>	